from google.appengine.api import users
from google.appengine.ext import db
from google.appengine.ext import webapp

from base_page import BaseHandler
from data import Pledge

class ViewOrderHandler(BaseHandler):
  def ProcessGet(self):
    self.Setup('view_order.html', show_search_box=True)
    # get request
    order = self.GetEntityByKeyName('oid')
    if order == None:
      self.RedirectAndRaise('/')
    self.template_values['order'] = order
    self.template_values['req'] = order.request
    self.Render()

  def ProcessPost(self):
    pass

    

